/* SCROLLBAR */
::-webkit-scrollbar-thumb {
	background: #6a6a6a;
	border: none;
	border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
	background: #ff79c6;
	border: none;
}

::-webkit-scrollbar-track {
	background: #2f2f2f;
	border-left: 1px solid #202020;
}

::-webkit-scrollbar-track-piece {
	background: #1f1f1f;
	border-left: 1px solid #202020;
}

.node .body::-webkit-scrollbar {
	display: none;
}

/*-- Menu ------------------------------------------------------------------ */
.app-menu {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 30px;
	background-color: #202020;
	opacity: 0.8;
}

.app-menu:hover {
	opacity: 1;
}

.app-menu .menu {
	display: block;
	float: left;
	margin-left: 10px;
	box-shadow: none;
	font-size: 0.9em;
	color: #f8f8f2;
	cursor: pointer;
}

.title {
	box-sizing: border-box;
	padding: 5px;
	width: fit-content;
	min-width: 100px;
	line-height: 20px;
	font-weight: bold;
	float: left;
}

.menu .dropdown {
	color: #f8f8f2;
	opacity: 0.9;
	background-color: #4a4a4a;
}

.app-menu .menu .dropdown .item:hover {
	background: #2f2f2f;
	color: #f8f8f2;
}

.app-menu .menu .dropdown .item:active {
	background: #2f2f2f;
	color: #f8f8f2;
}

.app-menu .menu:active .title {
	background: #1f1f1f;
	color: #f8f8f2;
}

.menu .dropdown .icon-file-text {
	color: #f8f8f2;
}
.menu .dropdown .icon-append {
	color: #50fa7b;
}
.menu .dropdown .icon-folder-open {
	color: #ffb86c;
}
.menu .dropdown .icon-save {
	color: #f8f8f2;
}
.menu .dropdown .icon-javascript {
	color: #f1fa8c;
}
.menu .dropdown .icon-document-file-xml {
	color: #f8f8f2;
}
.menu .dropdown .icon-github {
	color: #fbc400;
}
.menu .dropdown {
	color: #fbc400;
}
.menu .dropdown .icon-share-square-o {
	color: #f8f8f2;
}
.menu .dropdown .icon-cog {
	color: #f8f8f2;
}

.add-link {
	box-shadow: 0 0 1px 1px #202020;
	color: #f8f8f2;
	background: #4a4a4a;
}

.add-link:hover {
	background: #6a6a6a;
}

#linkHelperMenuFilter {
	border-right: 2px solid #4a4a4a;
	border-left: 2px solid #4a4a4a;
}

/*-- Search ------------------------------------------------------------------ */
.app-search {
	background: #202020;
	position: absolute;
	top: 2px;
	right: 10px;
}

.app-search input[type='checkbox'] {
	cursor: pointer;
}

.app-search .search-field {
	border-top: 0;
	border-left: 0;
	border-right: 0;
	background: #1f1f1f;
	border-bottom: 0px;
	color: #f8f8f2;
}

.app-search .dropdown .item {
	display: block;
	box-sizing: border-box;
	padding: 7px;
}

.styled-checkbox label {
	color: #6a6a6a;
	background: #1f1f1f;
}

.styled-checkbox input:checked + label {
	background: #ff79c6;
	color: 	#1f1f1f;
}

input#nodeSearchInput::-webkit-input-placeholder {
	color: #6a6a6a;
}

input#nodeSearchInput::-moz-placeholder {
	color: #6a6a6a;
}

/*-- ----------------------------------------------------------------------- */

#app-bg {
/* .nodes-holder { */
	width:5000px;
	height:5000px;
	background-color: #1f1f1f;
	background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
}

#marquee {
	display: none;
	border: 1px double #ff79c6;
	background-color: #ff79c6;
	background-color: rgba(255, 121, 198, .1);
}

.node-editor .form {
	top: 2.5%;
}

.node {
	border-radius: 5px;
	background: #2f2f2f;
	box-shadow: 0px 2px 10px 1px #202020;
}
.node:active {
	box-shadow: 0px 2px 12px 5px #202020;
}

.node .body {
	padding: 0 5px 0 5px;
	color: #f8f8f2;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.node.selected {
	box-shadow: 0px 0px 0px 3px #ff79c6, 0px 2px 10px 1px #202020;
}

.node.selected:active {
	box-shadow: 0px 0px 0px 3px #ff79c6, 0px 2px 12px 7px #202020;
}

.node .title {
	width: 100%;
	height: 40px;
	line-height: 40px;
	border-radius: 5px 5px 0 0;
}
.node.selected .title {
	width: 100%;
	position: absolute;
}

.node .tags {
	padding: 0;
	margin: 0;
	width: 100%;
	border: 0;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	background: inherit;
	-ms-overflow-style: none;
	scrollbar-width: none;
	overflow: scroll;
}
.node .tags::-webkit-scrollbar {
	display: none;
}
.node .tags:empty {
	display:none;
}
.node .tags span {
	padding: 1px 5px 1px 5px;
	margin: 0 0 0 2px;
	border-radius: 15px;
	background-color: #8be9fd;
	color: #202020;
}

.node .edit,
.node .delete,
.node .colorUp,
.node .colorDown {
	background: #1f1f1f;
	color: #f8f8f2;
}

.conditionbounds {
	color: #fbc400;
}

.condition {
	color: #ff79c6;
}

/* --------------------------- Narrow overrides -----------------------------*/
@media only screen and (max-width: 600px) {
	.app-menu {
		box-shadow: 0 0;
	}

	.app-search {
		position: absolute;
		top: 26px;
		left: 0px;
		width: 100%;
		background-color: #202020;
		padding: 5px 10px 5px 5px;
		z-index: 10000;
	}

	.app-search > input {
		padding: unset;
		width: 170px;
	}

	button.bbcode-button {
		border: none !important;
	}
}

/*-- Canvas Buttons ------------------------------------------------------- */
.app-add-node {
	color: #2f2f2f;
	background: #202020;
}

.app-add-node:hover {
	color: #f8f8f2;
}

.app-button {
	background: #202020;
}

.app-button span {
	color: #2f2f2f;
}

.app-button span:hover {
	color: #f8f8f2;
}

.app-add-node, .app-button {
	opacity: 0.7;
}
/* --------------------------- Settings --------------------*/
.settings-form {
	background: #1f1f1f;
	color: #f8f8f2;
}

.settings-icon {
	color: #ff79c6;
}

.settings-value {
	background: #2f2f2f;
	color: #f8f8f2;
	border: 1px solid transparent;
}

select,
.markup #theme {
	background: #2f2f2f;
	color: #f8f8f2;
	border: 1px solid transparent;
}

.markup button {
	background: #2f2f2f;
	color: #f8f8f2;
	box-shadow: none;
	border: 0;
}
.markup button:hover {
	background: #6a6a6a;
}
.markup button:active {
	background: #2f2f2f;
}

.slidecontainer.settings-value {
	background: transparent;
}

.settings-value >input::-webkit-slider-thumb {
	background: #ff79c6;
}

.slider {
	background: #2f2f2f;
}

input[type="password"] {
	background: #2f2f2f;
	color: #f8f8f2;
	border: 0;
	padding: 4px;
}

input.settings-value {
	background: #2f2f2f;
	color: #f8f8f2;
	border: 0;
	padding: 4px;
}

button {
	background: #2f2f2f;
	color: #f8f8f2;
	box-shadow: none;
	border: 0;
}
button:hover {
	background: #6a6a6a;
}
button:active {
	background: #2f2f2f;
}

input[type='checkbox'] {
	background: #2f2f2f;
}

#gridSize {
	background: #2f2f2f;
	color: #f8f8f2;
	border: 0;
	padding: 4px;
}

#gridSize:disabled {
	background: #2f2f2f;
	color: #2f2f2f;
	border: 0;
	padding: 4px;
}

/* --------------------------- Editor -----------------------------*/
.node-editor .form {
	background: #2f2f2f;
}

.node-editor .form .editor {
	background: #1f1f1f;
	color: #f8f8f2;
}

.ace-yarn .ace_gutter {
	background: #1f1f1f !important;
	color: #6a6a6a !important;
}

.node-editor .form input[type='text'] {
	background: #1f1f1f;
	color: #f8f8f2;
	border: 0;
	padding-left: 10px;
}

#editor-preview {
	color: #6a6a6a !important;
}

.title-error {
	color: #ff5555 !important;
}

.ace-yarn .ace_marker-layer .ace_active-line {
	background: none;
	border-top: 2px solid #2f2f2f;
	border-bottom: 2px solid #2f2f2f;
	margin-top: -2px;
}

.ace-yarn .ace_cursor {
	color: #f8f8f2;
}

.ace_editor .ace_marker-layer .ace_selection,
.ace-yarn .ace_marker-layer .ace_selection {
	background: #2f2f2f;
}

.ace_editor .ace_marker-layer .ace_selected-word,
.ace-yarn .ace_marker-layer .ace_selected-word {
	background: transparent;
	border: none;
}

input[type="text"] {
	color: #f8f8f2;
	background: #2f2f2f;
}

.bbcode-button {
	color: #f8f8f2;
	background: #2f2f2f;
	border: none;
	height: 22px;
	line-height: 22px;
}

.node-editor .form .editor-counter {
	color: #6a6a6a;
}

.bbcode-button:hover {
	background: #6a6a6a;
}
.bbcode-button.active{
	background: #fbc400;
	color: #0f0123;
}
.bbcode-button:active {
	color: #fbc400;
}

#editor-resize-handle {
	background-color: #4a4a4a;
	color: #f8f8f2;
}

.styled-checkbox label {
	background: #2f2f2f !important;
	color: #f8f8f2 !important;
	border: 2px solid transparent;
}

.styled-checkbox	label:hover {
	background: #6a6a6a !important;
	color: #f8f8f2 !important;
	border: 2px solid transparent;
}

.styled-checkbox input:checked + label {
	background: #fbc400	 !important;
	color: #1f1f1f !important;
	border: 2px solid transparent;
}

.ace_search {
	background-color: #2f2f2f;
	border: none;
}

input.ace_search_field {
	background: #1f1f1f;
	border: 1px solid #1f1f1f;
	border-right: none;
	color: #f8f8f2;
}

.ace_search_options {
	color: #f8f8f2;
}

.ace_searchbtn {
	background: #2f2f2f;
	color: #f8f8f2;
	border: 1px solid #1f1f1f;
	border-left: none;
}
.ace_searchbtn:hover {
	background: #1f1f1f;
}

.ace_button {
	color: #f8f8f2;
	border: 1px solid #1f1f1f;
}
.ace_button:hover {
	background: #1f1f1f;
}

.ace_searchbtn:last-child {
	border: 1px solid #1f1f1f;
	border-left: none;
}

.ace_scrollbar {
	cursor: default;
}

.ace-yarn .ace_paren.ace_lcomm, .ace-yarn .ace_paren.ace_rcomm {
	color: #fbc400;
}

.ace-yarn .ace_string.ace_comm {
	color: #ff79c6;
}

.ace-yarn .ace_string.ace_llink {
	color: #f1fa8c;
}

/* Flow related stuff */
.ace_editor span.ace_flow.ace_declaration,
.ace_editor span.ace_divert,
.ace_editor span.ace_choice.ace_bullets,
.ace_editor span.ace_choice.ace_label,
.ace_editor span.ace_choice.ace_weaveBracket,
.ace_editor span.ace_gather.ace_bullets,
.ace_editor span.ace_gather.ace_label,
.ace_editor span.ace_glue,
.ace_editor span.ace_include,
.ace_editor span.ace_external,
.ace-yarn .ace_string.ace_rlink {
	color: #50fa7b;
}

.ace-yarn .ace_paren.ace_llink, .ace-yarn .ace_paren.ace_rlink {
	color: #fbc400;
}

.story-playtest-bubble {
	background: #6a6a6a;
	color: #f8f8f2;
}

.story-playtest-answer {
	background: #2f2f2f !important;
	color: #f8f8f2 !important;
}

.storyPreviewChoiceButton {
	color: #f8f8f2;
}

.editor-container .editor-play, .editor-container .editor-preview {
	color: red !important;
}

div#colorPicker-container {
	opacity: 1;
}

.sp-container.sp-light.sp-flat.sp-buttons-disabled.sp-palette-buttons-disabled.sp-initial-disabled {
	background: #1f1f1f;
	border:none;
	box-shadow: 0px 2px 10px 1px #202020;
}

.sp-palette-container {
	border-right: 1px solid #202020;
}

.sp-picker-container {
	border-left: 1px solid #202020;
}

input.sp-input {
	background: #202020 !important;
}

.sp-palette .sp-thumb-el {
	border: 1px solid #202020 !important;
}

.sp-palette .sp-thumb-el:hover, .sp-palette .sp-thumb-el.sp-thumb-active {
	border: 1px solid #ffb86c !important;
}

/* --------------------------- Other -----------------------------*/
.arrows {
	color: #fbc400;
}

.node .colorUp,
.node .colorDown {
	margin-left: 10px;
}

.app-info {
	color: #6a6a6a;
	opacity: 1;
	font-weight: bolder;
}

.app-title {
	color: #6a6a6a;
}

.app-version::before {
	color: #6a6a6a;
}

.swal2-popup {
	background: #1f1f1f !important;
	/* border: 2px solid #fbc400; */
}

.swal2-popup.swal2-toast {
	background: #1f1f1f !important;
	/* border: 2px solid #fbc400; */
	box-shadow: 0 0 0.625em #202020;
}

.swal2-timer-progress-bar {
	background: #fbc400;
}

.swal2-popup.swal2-modal.swal2-icon-warning.swal2-show {
	border: 2px solid #ffb86c;
}

.swal2-icon.swal2-warning.swal2-icon-show {
	color: #ffb86c;
	border-color: #ffb86c;
}

.swal2-title {
	color: #f8f8f2;
}

.swal2-content {
	color: #f8f8f2;
}

.swal2-confirm.swal2-styled {
	background: #8be9fd;
	border-left-color: #8be9fd;
	border-right-color: #8be9fd;
	font-weight: bold;
	color: #202020;
}

.swal2-icon-warning .swal2-confirm.swal2-styled {
	background: #ffb86c;
	border-left-color: #ffb86c;
	border-right-color: #ffb86c;
	font-weight: bold;
	color: #202020;
}
.swal2-icon-error .swal2-confirm.swal2-styled {
	background: #ff5555;
	border-left-color: #ff5555;
	border-right-color: #ff5555;
	font-weight: bold;
	color: #202020;
}
.swal2-icon-success .swal2-confirm.swal2-styled {
	background: #50fa7b;
	border-left-color: #50fa7b;
	border-right-color: #50fa7b;
	font-weight: bold;
	color: #202020;
}
.swal2-icon-info .swal2-confirm.swal2-styled {
	background: #8be9fd;
	border-left-color: #8be9fd;
	border-right-color: #8be9fd;
	font-weight: bold;
	color: #202020;
}
.swal2-icon-question .swal2-confirm.swal2-styled {
	background: #f1fa8c;
	border-left-color: #f1fa8c;
	border-right-color: #f1fa8c;
	font-weight: bold;
	color: #202020;
}

.swal2-cancel.swal2-styled {
	color: #202020;
	font-weight: bold;
}

.swal2-content option {
	background: #1f1f1f;
	color: #f8f8f2;
}

.swal2-content option:disabled {
	background: #1f1f1f;
	color: #6a6a6a;
}

#swal-input1 {
	background: #202020;
	color: #f8f8f2;
	box-shadow: none;
	border: 2px solid #202020;
}

.grid-canvas {
	color: #2f2f2f;
}

.title-style-1 {
	background-color: #4a4a4a;
	color: #f8f8f2;
}
.title-style-1:hover{
	background-color: #6a6a6a;
}
.title-style-2 {
	background-color: #ff5555;
	color: #202020;
}
.title-style-2:hover {
	background-color: rgba(255, 85, 85, 0.69);
}
.title-style-3 {
	background-color: #ffb86c;
	color: #202020;
}
.title-style-3:hover {
	background-color: rgba(255, 184, 108, 0.76);
}
.title-style-4 {
	background-color: #f1fa8c;
	color: #202020;
}
.title-style-4:hover {
	background-color: rgba(241, 250, 140, 0.72);
}
.title-style-5 {
	background-color: #50fa7b;
	color: #202020;
}
.title-style-5:hover {
	background-color: rgba(80, 250, 123, 0.71);
}
.title-style-6 {
	background-color: #8be9fd;
	color: #202020;
}
.title-style-6:hover {
	background-color: rgba(139, 233, 253, 0.73);
}
.title-style-7 {
	background-color: #fbc400;
	color: #202020;
}
.title-style-7:hover {
	background-color: rgba(189, 147, 249, 0.78);
}
.title-style-8 {
	background-color: #ff79c6;
	color: #202020;
}
.title-style-8:hover {
	background-color: rgba(255, 121, 198, 0.7);
}
.title-style-9 {
	background-color: #f8f8f2;
	color: #202020;
}
.title-style-9:hover {
	background-color: rgba(248, 248, 242, 0.79);
}
